// 购物车模块
export default {
  namespaced: true,
  state: {
    // 定义一个list 购物车列表数据
    list: [],
  },
  mutations: {
    updatedList(state, newList) {
      state.list = newList
    },
  },
}
